package com.shan.domm.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 宿舍
 * @TableName room
 */
@TableName(value ="room")
@Data
public class Room implements Serializable {
    /**
     * 宿舍ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 宿舍房间id
     */
    @TableField("room_dorm")
    private Integer roomDorm;

    /**
     * 宿舍号
     */
    @TableField("dorm_number")
    private String dormNumber;

    /**
     * 宿舍楼层
     */
    @TableField("dorm_floor")
    private Integer dormFloor;

    /**
     * 宿舍学生id
     */
    @TableField("dorm_snumber")
    private Integer dormSnumber;

    /**
     * 宿舍人数
     */
    @TableField("survivor_number")
    private Integer survivorNumber;

    /**
     * 卫生情况
     */
    @TableField("hygienic_condition")
    private String hygienicCondition;

    /**
     * 宿舍荣誉
     */
    @TableField("room_honors")
    private String roomHonors;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}